home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / ieeeg / mar97 / ofekf117.gif < prev   
Graphics Interchange Format  |  1997-06-26  |  42KB  |  429x387  |  4-bit (15 colors)
Labels: text | screenshot | font | menu | handwriting | document
OCR: 17 The modi- fied color accumulation procedure including high- light removal. struct Highlightinfo { RGB a[i] i€ [1. m] RGB median Integer counter ColorsAccumulate(LQNode N, Transformation t, Image P ,, Integer m) { if N.t. counter < m N.t.a.N.t.counter] = P. [t; (C(N))] N.t.counter + N.t.counter + 1 return if N.t.counter = m N.L.median = MedianCalculate(N.t.a[]) for j += 1 to m if IIN.L.afj - N.medianll < threshold N.value + N.value * N.certainty + N.t.ali] N.certainty + 1 N.certainty + N.certainty + 1 if II P[{(C(N))] - N.med il < threshold return N.val + N.val + N.certainty + P,It, (C(N))] N.certainty + 1 N.certainty +- N.certainty + 1